import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/swiper-bundle.css'
import './directive'
// import scroll from "vue-seamless-scroll";
import './icons'
import 'reset-css'
import './style/index.less'
import './permission' // 路由权限控制

import axios from 'axios'
import http from './utils/HttpUtils';

Vue.prototype.$http = axios

Vue.use(http)
Vue.use(ElementUI);
Vue.config.productionTip = false
Vue.use(VueAwesomeSwiper, /* { default global options } */)

// Vue.use(scroll)
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
